import '../constants/index.dart';
import '../utils/RequestDio.dart';

Future<dynamic> sendCodeAPI(params) =>
    requestDio.get(HTTP_PATH.SEND_CODE, params: params);

// loginAPI({'mobile': '123123123', 'code': '123123'})
loginAPI(Map<String, dynamic> data) {
  return requestDio.post(HTTP_PATH.USER_LOGIN_CODE, data: data);
}
